home *** CD-ROM | disk | FTP | other *** search
- Path: news.larc.nasa.gov!usenet
- From: d.s.bang@larc.nasa.gov
- Newsgroups: comp.lang.c++
- Subject: ReadComm in Windows programming
- Date: 21 Mar 1996 06:04:00 GMT
- Organization: NASA
- Message-ID: <4iqrgg$rj@reznor.larc.nasa.gov>
- Reply-To: d.s.bang@larc.nasa.gov
- NNTP-Posting-Host: nb1-37.larc.nasa.gov
- X-Newsreader: WinVN 0.90.5
-
- Dear Programmers,
-
- I am programming to access COM ports under Borland C++4.0. I have a very
- simple windows program that initilizes the COM port and Read the data via
- using "OpenComm, BuildCommDCB, SetCommState, ReadComm, .."
- I get no errors and they seem to work fine, except I just can't read
- anything in. My ReadComm doesn't read any data.
-
- I know my COM port (9600,N,8,1) is receiving data, because I have a DOS
- program that can read it in. I didn't change any DCB structures; I'm
- using the default values. Why can't I read it in under windows?
-
- Can anybody advise me what in the world I'm doing wrong?
- Thank you all in advance.
-
- Ray..
-